package com.cwf.basic.query;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseQuery {
    private String keyword;
    private Long currentPage = 1L;
    private Long pageSize = 10L;
    public Long getStart(){
        return (currentPage-1)*pageSize;
    }
}
